const name = {
  surname: 'zhang',
  sayName() {
    console.log(this.surname)
  }
}

module.exports = name

// export.name = name  exports 是module.exports的引用 const exports = module.exports
/*
exports.name = name
exports.age = age
等同 
module.exports = {
  name, age
}

exports.default = {} 
module.exports = {default}

*/

